package com.sl.au.service;

import com.sl.au.entity.OperateLog;
import com.sl.au.entity.User;

import com.sl.au.repository.OperateLogRepository;

import java.util.List;
import java.util.Map;


public interface OperateLogService extends BaseService {
	OperateLogRepository getRepository();

	///写入日志
	void log(User user, String operationType, String content);
	
	///获得日志的记录
	List<OperateLog> getLogs(int start, int length, Map<String, String> condition);

    long getCount(Map<String, String> condition);
    
    

}
